/*
 *  Squirrel.h
 *  SquirrelAdven
 *
 *  Created by James Weaver on 3/11/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

#include <string>
#include "Wm5WindowApplication3.h"
//#include "DialogTree.h"

using namespace Wm5;

class Squirrel{
protected:
	int characterID;
	std::string characterTitle;
	std::string characterName;
	std::string characterSpecies;
	std::string characterBackground;
	
	std::string objFilename;
	std::string dialogFilename;
	
//	OBJtoTriMesh * meshLoader;
	TriMesh * characterMesh;
//	DialogTree * dialogTree;
	Object * inventory;
	
public:
	// constructor
	Squirrel();
	// destructor
	~Squirrel();
	
	float * location;

	float direction;
	// get TriMesh of the Squirrel
	TriMesh * getCharacterMesh();
	// get DialogTree
//	DialogTree * getDialogTree();
	
	// add/remove item to/from inventory
	void addToInventory(Object * obj);
	void removeFromInventory(Object * obj);

	// setter
	void setCharacterID(int ID);
	void setCharacterTitle(std::string title);
	void setCharacterName(std::string name);
	void setCharacterSpecies(std::string species);
	void setCharacterBackground(std::string background);
	void setObjFilename(std::string objFilename);
	void setDialogFilename(std::string dialogFilename);
	
	// getter
	int getCharacterID();
	std::string getCharacterTitle();
	std::string getCharacterName();
	std::string getCharacterSpecies();
	std::string getCharacterBackground();
	
	// print
	void printData();
};
